<!-- 当前位置 -->
<div id="urHere">DouPHP 管理中心<b>></b><strong>网站管理员</strong></div>
<div id="manager" class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
    <h3><a href="{:U('index')}" class="actionBtn">返回列表</a>添加网站管理员</h3>
    <form action="{:U('addAdmin')}" method="post">
        <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
            <tr>
                <td width="100" align="right">用户名</td>
                <td>
                    <input type="text" name="real_name" size="40" value="" class="inpMain"/>
                    <span class="error">{$errData['real_name']}</span>
                </td>
            </tr>

            <tr>
                <td align="right">角色名称</td>
                <td>
                    <input type="text" name="role_name" size="40" value="" class="inpMain"/>
                    <span class="error"> {$errData['role_name']}</span>
                </td>
            </tr>

            <tr>
                <td align="right">权限名称</td>
                <td>
                    <input type="checkbox" id="actInfo" name="power_name[]"/>
                    <label for="actInfo">活动信息管理</label>
                    <input type="checkbox" id="news" name="power_name[]"/>
                    <label for="news">咨询信息管理</label>
                    <input type="checkbox" id="order" name="power_name[]"/>
                    <label for="order">订单管理</label>
                    <input type="checkbox" id="user" name="power_name[]"/>
                    <label for="user">会员管理</label>
                    <span class="error"> {$errData['power_name']}</span>
                </td>
            </tr>

            <tr>
                <td width="100" align="right">请求方法</td>
                <td>
                    <dl>
                        <dt>
                        管理员
                        </dt>
                        <dd>
                            <input type="checkbox" name="require_url[]" value="/AdminInfo/index" id="admin_info_index"/>
                            <label for="admin_info_index">显示管理员列表</label>
                            <input type="checkbox" name="require_url[]" value="/AdminInfo/addAdmin"
                                   id="admin_info_addAdmin"/>
                            <label for="admin_info_addAdmin">添加管理员</label>
                            <input type="checkbox" name="require_url[]" value="/AdminInfo/modAdmin"
                                   id="admin_info_modAdmin"/>
                            <label for="admin_info_modAdmin">修改管理员</label>
                            <input type="checkbox" name="require_url[]" value="/AdminInfo/delAdmin"
                                   id="admin_info_delAdmin"/>
                            <label for="admin_info_delAdmin">删除管理员</label>
                        </dd>
                    </dl>
                    <dl>
                        <dt>
                            活动
                        </dt>
                        <dd>
                            <input type="checkbox" name="require_url[]" value="/ActInfo/index" id="act_info_index"/>
                            <label for="act_info_index">显示文章列表</label>
                            <input type="checkbox" name="require_url[]" value="/ActInfo/addArt" id="act_info_addArt"/>
                            <label for="act_info_addArt">添加文章</label>
                            <input type="checkbox" name="require_url[]" value="/ActInfo/modArt" id="act_info_modArt"/>
                            <label for="act_info_modArt">修改文章</label>
                            <input type="checkbox" name="require_url[]" value="/ActInfo/delArt" id="act_info_delArt"/>
                            <label for="act_info_delArt">删除文章</label>
                            <span class="error"> {$errData['require_url']}</span>
                        </dd>
                    </dl>

                    <dl>
                        <dt>
                            资讯
                        </dt>
                        <dd>
                            
                        </dd>
                    </dl>

                </td>
            </tr>

            <td></td>
            <td>
                <input type="hidden" name="token" value="5a58b748"/>
                <input type="submit" name="submit" class="btn" value="提交"/>
            </td>
            </tr>
        </table>
    </form>
</div>
